Repository navigation
Use the Spotless predeclare DSL - #12962
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
The pinned Spotless plugin supports spotlessPredeclare and enables the same root-project dependency provisioning as predeclareDeps(). Formatter declarations remain unchanged.
🤖 Bits Code Review · Commit 49d8db8
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
59d72fa
into
master
What Does This Do
Use
spotlessPredeclare { ... }to declare the shared formatter dependencies in the root build.Motivation
Spotless 8.5.0 added a Kotlin DSL accessor that enables dependency predeclaration directly. This removes the explicit
predeclareDeps()call and extension cast.Additional Notes
Formatter dependencies still resolve once from the root project's repositories, with the same types and versions.
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issue